package au.com.handsunited.model;

import org.hibernate.search.annotations.Indexed;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * @author arunda
 *
 */
@Indexed
public class Organisation extends BaseEntity {


	private String yearFounded;
	private Boolean governmentOrganisation;


	private static Logger logger = LoggerFactory.getLogger(Organisation.class);



	/**
	 *
	 */
	public Organisation() {
		super();
	}


	/**
	 * @see au.com.handsunited.model.BaseEntity#isOrganisation()
	 */
	@Override
	public boolean isOrganisation() {
		return true;
	}


	/**
	 * @see au.com.handsunited.model.BaseEntity#getEntityType()
	 */
	@Override
	public String getEntityType() {
		return "organisation";
	}


	/**
	 * @see au.com.handsunited.model.Organisation#getYearFounded()
	 */
	public String getYearFounded() {
		return yearFounded;
	}


	/**
	 * @see au.com.handsunited.model.Organisation#setYearFounded(String)
	 */
	public void setYearFounded(String yearFounded) {
		this.yearFounded = yearFounded;
	}

	/**
	 * @see au.com.handsunited.model.Organisation#isGovernmentOrganisation()
	 */
	public boolean isGovernmentOrganisation() {
		return governmentOrganisation;
	}


	/**
	 * @see au.com.handsunited.model.Organisation#setGovernmentOrganisation(boolean)
	 */
	public void setGovernmentOrganisation(boolean governmentOrganisation) {
		this.governmentOrganisation = governmentOrganisation;
	}

}
